<%@ page contentType="text/html;charset=UTF-8" pageEncoding="utf-8"
	language="java"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>12306车票查询</title>
<link rel="stylesheet" type="text/css"
	href="<%=basePath%>js/jquery-easyui-1.5.3/themes/default/easyui.css">
<link rel="stylesheet" type="text/css"
	href="<%=basePath%>js/jquery-easyui-1.5.3/themes/icon.css">
<link rel="stylesheet" type="text/css"
	href="<%=basePath%>js/jquery-easyui-1.5.3/themes/color.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>css/train.css">
<script type="text/javascript"
	src="<%=basePath%>js/jquery-easyui-1.5.3/jquery.min.js"></script>
<script type="text/javascript"
	src="<%=basePath%>js/jquery-easyui-1.5.3/jquery.easyui.min.js"></script>
	<script type="text/javascript"
	src="<%=basePath%>js/scity.js"></script>
<script type="text/javascript"
	src="<%=basePath%>js/arrvialcity.js"></script>
	<script type="text/javascript"
	src="<%=basePath%>js/train_table.js"></script>

</head>

<body >
	<div id="top">
		<b>欢迎来到12306购票系统</b>
	</div>
	<div id="nav">
		<span id="span-nav">欢迎您：&nbsp;&nbsp;&nbsp;&nbsp;<!--用户名 -->|
			&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" class="easyui-linkbutton c2"
			style="width: 80px">退出</a></span>
	</div>
	<form name="form1" method="post" action="Train/getTrainBySelect" onSubmit="return check()">
		<div class="easyui-panel" style="width: 100%; padding: 20px 120px;">
			<span> <b>始发地：</b>
				<select id="sprovince" onchange="sonSelected()" style="width: 100px;">
					<option value=0>北京市</option>
					<option value=1>上海市</option>
					<option value=2>天津市</option>
					<option value=3>重庆市</option>
					<option value=4>河北省</option>
					<option value=5>山西省</option>
					<option value=6>辽宁省</option>
					<option value=7>吉林省</option>
					<option value=8>河南省</option>
					<option value=9>江苏省</option>
					<option value=10>浙江省</option>
					<option value=11>安徽省</option>
					<option value=12>福建省</option>
					<option value=13>江西省</option>
					<option value=14>山东省</option>
					<option value=15>湖北省</option>
					<option value=16>湖南省</option>
					<option value=17>广东省</option>
					<option value=18>海南省</option>
					<option value=19>四川省</option>
					<option value=20>贵州省</option>
					<option value=21>云南省</option>
					<option value=22>陕西省</option>
					<option value=23>甘肃省</option>
					<option value=24>青海省</option>
					<option value=25>黑龙江省</option>
					<option value=26>内蒙古自治区</option>
					<option value=27>广西壮族自治区</option>
					<option value=28>西藏自治区</option>
					<option value=29>宁夏回族自治区</option>
					<option value=30>新疆维吾尔自治区</option>
					<option value=31>香港特别行政区</option>
					<option value=32>澳门特别行政区</option>
					<option value=33>台湾省</option>
				</select> 
				<select id="scity" name="dstation" style="width: 100px;"></select>
			</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
			<span ><b>终点站：</b>
				<select id="aprovice" onchange="aonSelevted()"  style="width: 100px;">
					<option value=0>北京市</option>
					<option value=1>上海市</option>
					<option value=2>天津市</option>
					<option value=3>重庆市</option>
					<option value=4>河北省</option>
					<option value=5>山西省</option>
					<option value=6>辽宁省</option>
					<option value=7>吉林省</option>
					<option value=8>河南省</option>
					<option value=9>江苏省</option>
					<option value=10>浙江省</option>
					<option value=11>安徽省</option>
					<option value=12>福建省</option>
					<option value=13>江西省</option>
					<option value=14>山东省</option>
					<option value=15>湖北省</option>
					<option value=16>湖南省</option>
					<option value=17>广东省</option>
					<option value=18>海南省</option>
					<option value=19>四川省</option>
					<option value=20>贵州省</option>
					<option value=21>云南省</option>
					<option value=22>陕西省</option>
					<option value=23>甘肃省</option>
					<option value=24>青海省</option>
					<option value=25>黑龙江省</option>
					<option value=26>内蒙古自治区</option>
					<option value=27>广西壮族自治区</option>
					<option value=28>西藏自治区</option>
					<option value=29>宁夏回族自治区</option>
					<option value=30>新疆维吾尔自治区</option>
					<option value=31>香港特别行政区</option>
					<option value=32>澳门特别行政区</option>
					<option value=33>台湾省</option>
			</select>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
			<select id="acity" name="terminal" style="width: 100px;"></select> 
			</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
			<span><b>出发日期：</b> <input class="easyui-datetimebox" style="width: 180px;">
			</span> 
			<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<input class="easyui-linkbutton" type="submit" value="查询" style="width: 100px">
			</span>
		</div>
	</form>
		<table id="pageGrid" class="easyui-datagrid" style="width:100%;"></table>
	<div id="footer">
		<p align="center">@copyright My 12306</p>
	</div>
</body>
</html>